import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import path from "path";
import resolve from "@rollup/plugin-node-resolve";

// https://vitejs.dev/config/
export default defineConfig({
    base: "./",
    plugins: [vue(), resolve()],
    resolve: {
        alias: {
            "@": path.resolve(__dirname, "./src"),
        },
    },
    css: {
        preprocessorOptions: {
            scss: {
                additionalData: '@import "@/assets/index.scss";',
            },
        },
    },
});
